package com.planw.beetl;

import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.PlatformDataKeys;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.ui.Messages;

public class MsgBox extends AnAction {

  @Override
  public void actionPerformed(AnActionEvent e) {

    Project project = e.getData(PlatformDataKeys.PROJECT);
    String title = "标题";
    String msg = "2018,起航";
    Messages.showMessageDialog(project, msg, title, Messages.getInformationIcon());
  }

}
